export const apiTableList = [{
  id: 1,
  name: '名称',
  width: 150,
  prop: 'name'
}, {
  id: 2,
  name: 'url',
  width: 150,
  prop: 'url'
}, {
  id: 3,
  name: '方法',
  width: 150,
  prop: 'method'
}, {
  id: 4,
  name: '类型',
  width: 150,
  prop: 'type'
}, {
  id: 5,
  name: '描述',
  width: undefined,
  prop: 'description'
}]

export const roleTableList = [{
  id: 1,
  name: '名称',
  width: 150,
  prop: 'name'
}, {
  id: 2,
  name: '描述',
  width: undefined,
  prop: 'description'
}]

export const userTableList = [{
  id: 0,
  name: '用户头像',
  width: 150,
  prop: 'avatar_url'
},
{
  id: 1,
  name: '真实姓名',
  width: 250,
  prop: 'name'
},
{
  id: 2,
  name: '性别',
  width: 100,
  prop: 'sex'
},
{
  id: 3,
  name: '手机号',
  prop: 'phone'
},
{
  id: 4,
  name: '角色',
  width: 200,
  prop: 'role'
}
]

// 产品信息
export const productInfoTableList = [{
  id: 1,
  name: '创建者',
  // width: 150,
  prop: 'creator'
},
{
  id: 2,
  name: '创建时间',
  // width: 150,
  prop: 'createdAt'
},
{
  id: 3,
  name: '所属工艺',
  // width: 150,
  prop: 'task'
},
{
  id: 4,
  name: '数量',
  // width: 150,
  prop: 'amount'
},
{
  id: 5,
  name: '规格',
  // width: 150,
  prop: 'norms_type'
}
]

// 热油炉及预热炉表(1小时一记)
export const hotOiloneTableList = [{
  id: -4,
  name: '操作者',
  prop: 'operator',
  show: true
},
{
  id: -3,
  name: '时间',
  prop: 'time',
  show: true
},
{
  id: -2,
  name: '批号',
  prop: 'batch_number',
  show: true
},

{
  id: -1,
  name: '描述',
  prop: 'describe',
  show: true
},
{
  id: 0,
  name: '燃烧室',
  prop: 'combustion_chamber',
  show: false
},
{
  id: 1001,
  name: '炉室',
  prop: 'Furnace_chamber',
  show: false,
  children: [{
    id: 1,
    name: '炉室1',
    prop: 'Furnace_chamber1'
  },
  {
    id: 2,
    name: '炉室2',
    prop: 'Furnace_chamber2'
  },
  {
    id: 3,
    name: '炉室3',
    prop: 'Furnace_chamber3'
  },
  {
    id: 4,
    name: '炉室4',
    prop: 'Furnace_chamber4'
  },
  {
    id: 5,
    name: '炉室5',
    prop: 'Furnace_chamber5'
  },
  {
    id: 6,
    name: '炉室6',
    prop: 'Furnace_chamber6'
  }
  ]
},
{
  id: 100,
  name: '热油炉温度',
  prop: 'Hot_oil_furnace_temperature',
  show: false,
  children: [{
    id: 0,
    name: '出口1',
    prop: 'export1'
  },
  {
    id: 1,
    name: '入口1',
    prop: 'entrance1'
  }
  ]
},
{
  id: 101,
  name: '热油炉压强',
  prop: 'Hot_oil_furnace_power',
  show: false,
  children: [{
    id: 0,
    name: '出口2',
    prop: 'export2'
  },
  {
    id: 1,
    name: '入口2',
    prop: 'entrance2'
  }
  ]
},
{
  id: 102,
  name: '液位',
  prop: 'level',
  show: false,
  children: [{
    id: 0,
    name: '高位槽',
    prop: 'High_level_trough'
  },
  {
    id: 1,
    name: '低位槽',
    prop: 'Low_level_trough'
  }
  ]
},
{
  id: 3,
  name: '循环泵',
  prop: 'pump',
  show: false

}
]
// 八小时记录天然气表
export const hotOileightTableList = [
  {
    id: 112,
    name: '热油炉天然气用量',
    prop: 'hot_oil_oven',
    show: false
  },
  {
    id: 113,
    name: '热油炉天然气用量',
    prop: 'preheating_oven',
    show: false
  },
  {
    id: 114,
    name: '预热炉天然气用量',
    prop: 'hot_oil_oven',
    show: false
  },
  {
    id: 115,
    name: '热油炉天然气用量',
    prop: 'hot_oil_oven',
    show: false
  },
  {
    id: 116,
    name: '热油炉天然气用量',
    prop: 'hot_oil_oven',
    show: false
  },
  {
    id: 117,
    name: '热油炉天然气用量',
    prop: 'hot_oil_oven',
    show: false
  }
]

// 员工信息 人员管理
export const employeesTableList = [{
  id: 1,
  name: '用户头像',
  width: 150,
  prop: 'url'
}, {
  id: 2,
  name: '真实姓名',
  width: 150,
  prop: 'name'
}, {
  id: 3,
  name: '性别',
  width: 150,
  prop: 'sex'
}, {
  id: 4,
  name: '手机号',
  width: undefined,
  prop: 'phone'
}, {
  id: 5,
  name: '功能角色',
  width: undefined,
  prop: 'role'
}]
